<include file="Public:header" />
<link rel="stylesheet" type="text/css" href="../Public/js/calendar/jscal2.css"/>
<link rel="stylesheet" type="text/css" href="../Public/js/calendar/border-radius.css"/>
<link rel="stylesheet" type="text/css" href="../Public/js/calendar/win2k.css"/>
<script type="text/javascript" src="../Public/js/calendar/calendar.js"></script>
<script type="text/javascript" src="../Public/js/calendar/lang/en.js"></script>
<div class="main">
	<div class="box_tit">
	    <h2>激活提货券</h2>
	</div>
	<div class="form_list">
	    <form method='post' id="form1" name="form1" action="{:U('Coupon/doactive')}"  enctype="multipart/form-data">
	    <div class="form_list_top">
	    
	    <dl>
	        <dt> 销售商：</dt>
	        <dd>
	           <select name="merchant_id">
	           	   <option value="{$key}" selected="selected">请选择销售商</option>
	           	   <volist name="merchant_list" id="mvo">
	               <if condition="$key eq $vo['merchant_id']">
	               		<option value="{$key}" selected="selected">{$mvo}</option>
	               <else />
	               		<option value="{$key}">{$mvo}</option>
	               </if>
                   </volist>
               </select> <strong class="red">*</strong>
	        </dd>
	    </dl>
	    <dl>
	        <dt> 销售时间： </dt>
	        <dd>
	        	<input type="text" class="ipt4" name="sold_time" id="sold_time" value="{$sold_time|toDate='Y-m-d H:i'}"> <strong class="red">*</strong>
                <script type="text/javascript">
                    Calendar.setup({
                        weekNumbers: true,
                        inputField : "sold_time",
                        trigger    : "sold_time",
                        dateFormat: "%Y-%m-%d %H:%M:%S",
                        showTime: true,
                        minuteStep: 1,
                        onSelect   : function() {this.hide();}
                    });
                </script>
	        </dd>
	    </dl>
	    <dl>
	        <dt> 备注： </dt>
	        <dd>
	        	<textarea name="remark" type="text" rows="4" cols="50" />{$vo.remark}</textarea>
	        </dd>
	    </dl>

	    </div>
	    
	    <div class="form_b">
	        <input type="hidden" name="id" value="{$vo.id}">
	        <input type="submit" class="submit btn7" id="submit" value="提 交">
	    </div>
	   	</form>
	</div>
</div>
<include file="Public:footer" />